
package com.joysuch.wwyt.datadump.biz.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import cn.zlg.common.datadump.annotation.DataDumpEntity;
import cn.zlg.common.datadump.annotation.DataDumpField;
import com.joysuch.wwyt.core.entity.dsl.QBaseUser;
import com.joysuch.wwyt.datadump.biz.convertor.ExportYesNoConvertor;
import com.joysuch.wwyt.datadump.biz.convertor.ImportYesNoToYNConvertor;
import com.joysuch.wwyt.datadump.biz.processor.MajorHazardImportProcessor;
import com.joysuch.wwyt.datadump.biz.query.MhMajorHazardDumpQueryBean;
import com.joysuch.wwyt.mh.entity.dsl.QMhMajorHazard;
import com.joysuch.wwyt.mh.entity.dsl.QMhMajorHazardChemProduct;
import com.joysuch.wwyt.mh.entity.dsl.QMhMajorHazardChemProductRel;
import com.joysuch.wwyt.risk.entity.dsl.QRiskDistrict;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 重大危险源关联的危化品对象
 */

@Data
public class MhMajorHazardChemProductRelBean {

    @NotNull
    @Excel(name = "危化品名称", width = 20)
    @DataDumpField(field = "mhMajorHazardChemProduct.name")
    private String chemProductName;

    @NotNull
    @Excel(name = "CAS号", width = 20)
    @DataDumpField(field = "mhMajorHazardChemProduct.code")
    private String casNo;

    @Excel(name = "生产用途", width = 20)
    @DataDumpField(field = "usage")
    private String usage;

    @Excel(name = "物理状态", width = 20)
    @DataDumpField(field = "substanceStatus")
    private String substanceStatus;

    @Excel(name = "危化品性质", width = 20)
    @DataDumpField(field = "chemProductFeature")
    private String chemProductFeature;

    @Excel(name = "操作温度(℃)", width = 20)
    @DataDumpField(field = "operationTemperature")
    private String operationTemperature;

    @Excel(name = "操作压力(Mpa)", width = 16)
    @DataDumpField(field = "operationPressure")
    private String operationPressure;

    @Excel(name = "存量(t/m³)", width = 15)
    @DataDumpField(field = "stock")
    private Double stock;

    @Excel(name = "设计存量(t/m³)", width = 15)
    @DataDumpField(field = "designStock")
    private Double designStock;

    @Excel(name = "临界量(t)", width = 15)
    @DataDumpField(field = "criticalStock")
    private Double criticalStock;

    @Excel(name = "校正系数β", width = 15)
    @DataDumpField(field = "fixRate")
    private Double fixRate;


}
